package tech.aistar.mapper.trading;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import tech.aistar.entity.trading.Report;

/**
 * @author Ace
 * @version 1.0
 * @descriiption:本类用来演示:
 * @date 2019/10/9 0009.
 */
public interface ReportMapper {
    /**
     * 根据uId查出
     */
    @Select("select * from report where u_id=#{value}")
     Report findReportByuId(String uId);
    /**
     * 修改report举报数属性
     */
    @Update("update report set report=#{report} where id=#{id}")
    void updateReport(Report report);
}
